﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ServerFrame
{
    /// <summary>
    /// 创建虚基类，作为消息，模板处理中心
    /// </summary>
    public abstract class AbsMessageCenter
    {
        public virtual void OnClientConnected(Mytoken token)
        {
 
        }
        public virtual void OnClientClose(Mytoken token,string error) 
        {
            
        }
        public virtual void OnMessageRecive(Mytoken token, TransModel model)
        {
 
        }
    }
}
